import UserController from "../../controllers/UserController";
import * as express from "express";
const router = express.Router()

// 用户路由
router.post('/allow/register', UserController.register)
router.post('/allow/login', UserController.login)
router.get('/users', UserController.findAll)

export default router;